package com.alipay.api.request;

import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayPassCodeAddResponse;
import java.util.List;
import java.util.Map;

public class AlipayPassCodeAddRequest implements AlipayRequest {

   private AlipayHashMap udfParams;
   private String apiVersion = "1.0";
   private String fileContent;
   private String recognitionInfo;
   private String recognitionType;
   private List verifyType;
   private String terminalType;
   private String terminalInfo;
   private String prodCode;
   private String notifyUrl;


   public void setFileContent(String fileContent) {
      this.fileContent = fileContent;
   }

   public String getFileContent() {
      return this.fileContent;
   }

   public void setRecognitionInfo(String recognitionInfo) {
      this.recognitionInfo = recognitionInfo;
   }

   public String getRecognitionInfo() {
      return this.recognitionInfo;
   }

   public void setRecognitionType(String recognitionType) {
      this.recognitionType = recognitionType;
   }

   public String getRecognitionType() {
      return this.recognitionType;
   }

   public void setVerifyType(List verifyType) {
      this.verifyType = verifyType;
   }

   public List getVerifyType() {
      return this.verifyType;
   }

   public String getNotifyUrl() {
      return this.notifyUrl;
   }

   public void setNotifyUrl(String notifyUrl) {
      this.notifyUrl = notifyUrl;
   }

   public String getApiVersion() {
      return this.apiVersion;
   }

   public void setApiVersion(String apiVersion) {
      this.apiVersion = apiVersion;
   }

   public void setTerminalType(String terminalType) {
      this.terminalType = terminalType;
   }

   public String getTerminalType() {
      return this.terminalType;
   }

   public void setTerminalInfo(String terminalInfo) {
      this.terminalInfo = terminalInfo;
   }

   public String getTerminalInfo() {
      return this.terminalInfo;
   }

   public void setProdCode(String prodCode) {
      this.prodCode = prodCode;
   }

   public String getProdCode() {
      return this.prodCode;
   }

   public String getApiMethodName() {
      return "alipay.pass.code.add";
   }

   public Map getTextParams() {
      AlipayHashMap txtParams = new AlipayHashMap();
      txtParams.put("file_content", this.fileContent);
      txtParams.put("recognition_info", this.recognitionInfo);
      txtParams.put("recognition_type", this.recognitionType);
      txtParams.put("verify_type", (Object)this.verifyType);
      if(this.udfParams != null) {
         txtParams.putAll(this.udfParams);
      }

      return txtParams;
   }

   public void putOtherTextParam(String key, String value) {
      if(this.udfParams == null) {
         this.udfParams = new AlipayHashMap();
      }

      this.udfParams.put(key, value);
   }

   public Class getResponseClass() {
      return AlipayPassCodeAddResponse.class;
   }
}
